package com.ruoyi.common.config.wx.pay;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Data
//@ConfigurationProperties(prefix = "wx.pay")
@PropertySource("wxpay.properties")
@ConfigurationProperties(prefix = "v3")
public class WxPayConfig {
    //appId
    private String appId;

    //商户id
    private String merchantId;
    //appSecret
    private String appSecret;

    //证书序列号
    private String merchantSerialNumber;

    //私钥路径
    private String certKeyPath;

    //商户秘钥
    private String apiV3Key;

    //回调通知地址
    private String wxnotify;


}
